package com.atguigu.cmsService.service;

import com.atguigu.cmsService.entity.CrmBanner;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author Chen Wen bo
 * @since 2021-08-10
 */
public interface CrmBannerService extends IService<CrmBanner> {

    IPage<CrmBanner> pageBanner(Long current, Long size);

    void addBanner(CrmBanner crmBanner);

    void updateBanner(CrmBanner crmBanner);

    void deleteBanner(String id);

    List<CrmBanner> getBannerList();

}
